﻿@model internal_website.Models.CompositionGenre
@using internal_website.Views.Resources
@using internal_website.CustomHtmlHelper

<fieldset>
    <legend>@ViewString.Composer__Edit_Title</legend>
    <form>
        @Html.AntiForgeryToken()
        @Html.HiddenFor(model => model.Id)

        <!-- Check box -->
        <div class="control-group">
            @Html.LabelFor(model => model.Active, new { @class ="control-label"})
            <div class="controls">
                @Html.CheckBoxFor(m => m.Active, new { @class="input-xlarge" })
            </div>
        </div>

        <!-- Text input-->
        <div class="control-group">
            @Html.LabelFor(model => model.Name, new { @class ="control-label"})
            <div class="controls">
                @Html.MyTextBoxFor(model => model.Name, new {  @class="input-xlarge" })
                @Html.ValidationMessageFor(model => model.Name, null, new { @class = "help-block" })
            </div>
        </div>

        <!-- Text input-->
        <div class="control-group">
            @Html.LabelFor(model => model.Description, new { @class ="control-label"})
            <div class="controls">
                @Html.MyTextBoxFor(model => model.Description, new { @class="input-xlarge"  })
                @Html.ValidationMessageFor(model => model.Description, null, new { @class = "help-block" })
            </div>
        </div>

        <div class="control-group"> 
            <div class="controls pull-right">
                <button type="button" class="btn btn-danger btnCancel">@ViewString.Composer__Edit_btnCancel_html</button>
                <button type="button" class="btn btn-success btnEdit">@ViewString.Composer__Edit_btnEdit_html</button>
            </div>
        </div>

    </form>
</fieldset>
